package com.mewpipe.utility;

public class GUIDSimple {
	
	private String resultat;

	public GUIDSimple() {
		
	}
	
	public String getResultat() {
		return resultat;
	}

	public String generationGUID(){
		
		String alpha = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
		String encode = "";
		
		for (int i = 0; i < 8; i++) {
			encode+= alpha.charAt((int) (Math.random() * alpha.length()))+"";
		}
		
		System.out.println(encode);
		return encode;
		
		
	}

}
